#ifndef __SOCKET_H__
#define __SOCKET_H__

#include "NoCopy.hpp"


namespace cdm{

class Socket:public NoCopy{

public:
    Socket();
    explicit Socket(int socket);
    ~Socket();
    int fd()const;
    void shutdownWrite();

private:
    int _fd;
};


}//end of namespace

#endif


